翻訳と辞書
Words near each other
・ Static Impulse
・ Static in Stereo
・ Static in Transmission
・ Static induction thyristor
・ Static induction transistor
・ Static interpretation of time
・ Static key
・ Static library
・ Static lift
・ Static light scattering
・ Static line
・ Static line (disambiguation)
・ Static Line (magazine)
・ Static Major
・ Static margin
Static memory allocation
・ Static mesh
・ Static Migration
・ Static mixer
・ Static Nocturne
・ Static Nunatak
・ Static on the Airwaves
・ Static Peak
・ Static Peak (Colorado)
・ Static Peak Divide
・ Static pressure
・ Static Prevails
・ Static program analysis
・ Static random-access memory
・ Static relay


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Static memory allocation : ウィキペディア英語版
Static memory allocation

Static memory allocation is the allocation of memory at compile-time before the associated program is executed, unlike dynamic memory allocation or automatic memory allocation where memory is allocated as required at run-time.
An application of this technique involves a program module (e.g. function or subroutine) declaring static data locally, such that these data are inaccessible in other modules unless references to it are passed as parameters or returned. A single copy of static data is retained and accessible through many calls to the function in which it is declared. Static memory allocation therefore has the advantage of modularising data within a program design in the situation where these data must be retained through the runtime of the program.
The use of static variables within a class in object oriented programming enables a single copy of such data to be shared between all the objects of that class.
Object constants known at compile-time, like string literals, are usually allocated statically. In object-oriented programming, the virtual method tables of classes are usually allocated statically. A statically defined value can also be global in its scope ensuring the same immutable value is used throughout a run for consistency.
==References==

==See also==
* Constant
* Dynamic memory allocation
* Global variable



抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Static memory allocation」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.